package com.hundun.hddeal.enums;

import lombok.Getter;

/**
 * 数据库字段状态枚举
 * @author
 * @date 2018/8/14
 */
@Getter
public enum StatusEnum {

    NEW((byte)0, "新订单"),
    PAID((byte)1, "已付款"),
    ISOK((byte)2, "已确认"),
    PREVIEW((byte)3,"预览中"),
    SUCCESS((byte)4,"交易成功"),
    CANCEL((byte)5,"已取消");

    private Byte code;

    private String message;

    StatusEnum(Byte code, String message) {
        this.code = code;
        this.message = message;
    }
}
